package org.mspring.platform.utils.exception;

/**
 * @author Gao Youbo
 * @since 2012-3-16
 *
 */
public class BusinessException extends RuntimeException {

    private static final long serialVersionUID = 2398740334943163701L;

    public static BusinessException c(String message) {
        return new BusinessException(message);
    }

    public static BusinessException c(Throwable cause) {
        return new BusinessException(cause);
    }

    public static BusinessException c(String message, Throwable cause) {
        return new BusinessException(message, cause);
    }

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(Throwable cause) {
        super(cause);
    }

    public BusinessException(String message, Throwable cause) {
        super(message, cause);
    }
}
